
const announce = {
  state: {
    /* 全局变量showView：默认首页显示为true*/
    showView: true,
    /* 2022/5/31修改：全局变量num*/
    num: 0
  },
  mutations: {
    /* 更改showView值*/
    updateData(state, data) {
      state.showView = data
    },
    /* 2022/5/31修改:更改num数据*/
    updateNum(state, data) {
      state.num = data
    }
  },
  actions: {}
}
export default announce
